package io.renren.modules.order.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.renren.common.utils.CommonUtils;
import io.renren.modules.package_storage.entity.V9PackageStorageEntity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 订单查询
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-09-19 17:05:35
 */
@TableName("v9_order")
public class V9OrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId
	private Integer orderId;
	/**
	 *
	 */
	private Integer shippingId;
	/**
	 *
	 */
	private String outTrackingNumber;
	/**
	 *
	 */
	private String data;
	/**
	 * 订单编号
	 */
	private String orderSn;
	/**
	 *
	 */
	private Integer uid;
	/**
	 * 会员码
	 */
	private String specialId;
	private String shippingName;
	private String shippingCode;
	/**
	 * 添加时间
	 */
	private Integer addTime;

	private transient String addTimeStr;
	/**
	 * 快递状态
	 */
	private Integer orderStatus;
	/**
	 * 支付状态
	 */
	private Integer shippingStatus;
	/**
	 *
	 */
	private Integer servicesFee;
	/**
	 *
	 */
	private Integer integral;
	/**
	 *
	 */
	private Integer length;
	/**
	 *
	 */
	private Integer width;
	/**
	 *
	 */
	private Integer height;
	/**
	 * 重量
	 */
	private BigDecimal weight;
	/**
	 *
	 */
	private String postscript;
	/**
	 *
	 */
	private Integer addId;
	/**
	 *
	 */
	private String addservices;
	/**
	 *
	 */
	private transient String totalMoney;

	private String feeData;
	@SuppressWarnings("rawtypes")
	private transient List<Map> feeDataArr;
	/**
	 * 投保金额
	 */
	private BigDecimal baseFee;
	private String baseFeeStr;
	/**
	 *
	 */
	private Integer payId;
	/**
	 *
	 */
	private String name;
	/**
	 *
	 */
	private String country;
	/**
	 *
	 */
	private String mobile;
	/**
	 *
	 */
	private String city;
	/**
	 *
	 */
	private String province;
	/**
	 *
	 */
	private String zipcode;
	/**
	 *
	 */
	private String address;
	/**
	 * 附加
	 */
	private Integer additional;
	/**
	 * 优惠
	 */
	private Integer discount;
	/**
	 *
	 */
	private String extras;
	/**
	 *
	 */
	private String adminnote;
	/**
	 *
	 */
	private String packInfo;
	/**
	 *
	 */
	private Integer kefuId;

	/**
	 * 标记状态
	 */
	private Integer signStatus;
	/**
	 * 父订单id
	 */
	private Integer pOrderId;

	/**
	 * 快速出库
	 */
	private Integer fastOuthouse;
	/**
	 * 拍照核对
	 */
	private Integer checkPhotos;

	private transient List<V9PackageStorageEntity> pList;

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public Integer getShippingId() {
		return shippingId;
	}

	public void setShippingId(Integer shippingId) {
		this.shippingId = shippingId;
	}

	public String getOutTrackingNumber() {
		return outTrackingNumber;
	}

	public void setOutTrackingNumber(String outTrackingNumber) {
		this.outTrackingNumber = outTrackingNumber;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public String getOrderSn() {
		return orderSn;
	}

	public void setOrderSn(String orderSn) {
		this.orderSn = orderSn;
	}

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getSpecialId() {
		return specialId;
	}

	public void setSpecialId(String specialId) {
		this.specialId = specialId;
	}

	public String getShippingName() {
		return shippingName;
	}

	public void setShippingName(String shippingName) {
		this.shippingName = shippingName;
	}

	public String getShippingCode() {
		return shippingCode;
	}

	public void setShippingCode(String shippingCode) {
		this.shippingCode = shippingCode;
	}



	public Integer getAddTime() {
		return addTime;
	}

	public void setAddTime(Integer addTime) {
		this.addTime = addTime;
	}

	public Integer getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}

	public Integer getShippingStatus() {
		return shippingStatus;
	}

	public void setShippingStatus(Integer shippingStatus) {
		this.shippingStatus = shippingStatus;
	}

	public Integer getServicesFee() {
		return servicesFee;
	}

	public void setServicesFee(Integer servicesFee) {
		this.servicesFee = servicesFee;
	}

	public Integer getIntegral() {
		return integral;
	}

	public void setIntegral(Integer integral) {
		this.integral = integral;
	}

	public Integer getLength() {
		return length;
	}

	public void setLength(Integer length) {
		this.length = length;
	}

	public Integer getWidth() {
		return width;
	}

	public void setWidth(Integer width) {
		this.width = width;
	}

	public Integer getHeight() {
		return height;
	}

	public void setHeight(Integer height) {
		this.height = height;
	}

	public BigDecimal getWeight() {
		return weight;
	}

	public void setWeight(BigDecimal weight) {
		this.weight = weight;
	}

	public String getPostscript() {
		return postscript;
	}

	public void setPostscript(String postscript) {
		this.postscript = postscript;
	}

	public Integer getAddId() {
		return addId;
	}

	public void setAddId(Integer addId) {
		this.addId = addId;
	}

	public String getAddservices() {
		return addservices;
	}

	public void setAddservices(String addservices) {
		this.addservices = addservices;
	}

	public String getFeeData() {
		return feeData;
	}

	public void setFeeData(String feeData) {
		this.feeData = feeData;
	}

	public BigDecimal getBaseFee() {
		return baseFee;
	}

	public void setBaseFee(BigDecimal baseFee) {
		this.baseFee = baseFee;
	}

	public String getBaseFeeStr() {
		return baseFeeStr;
	}

	public void setBaseFeeStr(String baseFeeStr) {
		this.baseFeeStr = baseFeeStr;
	}

	public Integer getPayId() {
		return payId;
	}

	public void setPayId(Integer payId) {
		this.payId = payId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getZipcode() {
		return zipcode;
	}

	public void setZipcode(String zipcode) {
		this.zipcode = zipcode;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getAdditional() {
		return additional;
	}

	public void setAdditional(Integer additional) {
		this.additional = additional;
	}

	public Integer getDiscount() {
		return discount;
	}

	public void setDiscount(Integer discount) {
		this.discount = discount;
	}

	public String getExtras() {
		return extras;
	}

	public void setExtras(String extras) {
		this.extras = extras;
	}

	public String getAdminnote() {
		return adminnote;
	}

	public void setAdminnote(String adminnote) {
		this.adminnote = adminnote;
	}

	public String getPackInfo() {
		return packInfo;
	}

	public void setPackInfo(String packInfo) {
		this.packInfo = packInfo;
	}

	public Integer getKefuId() {
		return kefuId;
	}

	public void setKefuId(Integer kefuId) {
		this.kefuId = kefuId;
	}



	public Integer getSignStatus() {
		return signStatus;
	}

	public void setSignStatus(Integer signStatus) {
		this.signStatus = signStatus;
	}

	public Integer getpOrderId() {
		return pOrderId;
	}

	public void setpOrderId(Integer pOrderId) {
		this.pOrderId = pOrderId;
	}

	public Integer getFastOuthouse() {
		return fastOuthouse;
	}

	public void setFastOuthouse(Integer fastOuthouse) {
		this.fastOuthouse = fastOuthouse;
	}

	public Integer getCheckPhotos() {
		return checkPhotos;
	}

	public void setCheckPhotos(Integer checkPhotos) {
		this.checkPhotos = checkPhotos;
	}

	public List<V9PackageStorageEntity> getpList() {
		return pList;
	}

	public void setpList(List<V9PackageStorageEntity> pList) {
		this.pList = pList;
	}

	public String getTotalMoney() {
		return totalMoney;
	}

	public void setTotalMoney(String totalMoney) {
		this.totalMoney = totalMoney;
	}

	public String getAddTimeStr() {
		return addTime==null ? null : CommonUtils.timeStampToTime(CommonUtils.timeStampPlus3(addTime));
	}

	public List<Map> getFeeDataArr() {
		return feeDataArr;
	}

	public void setFeeDataArr(List<Map> feeDataArr) {
		this.feeDataArr = feeDataArr;
	}







}
